package com.tyl.mapper;

import com.tyl.pojo.Department;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DepartmentMapper {

    public List<Department> queryAllDepartmentList();

    public Department queryDepartmentById(int Id);

    public int addDepartment(Department department);

    public int deleteDepartment(int Id);

    public int updateDepartment(Department department);
}
